package com.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.xml.*;
public class DeleteAction implements Action {

	@Override
	public String execute(HttpServletRequest req, HttpServletResponse res)
			throws Exception {
		String sa=req.getParameter("sabun");
		SawonXML xml=SawonXML.newInstance();
		xml.delete(Integer.parseInt(sa));
		return "success";
	}

}
